<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>预定义常量</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="intro.runkit.html">简介</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="runkit.setup.html">安装／配置</a></div>
 <div class="up"><a href="book.runkit.html">runkit</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="runkit.constants" class="appendix">
 <h1>预定义常量</h1>

 <p class="simpara">下列常量由此扩展定义，且仅在此扩展编译入 PHP 或在运行时动态载入时可用。</p>
 <dl>

  
   <dt id="constant.runkit-import-functions">
    <strong><code>RUNKIT_IMPORT_FUNCTIONS</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">
     <span class="function"><a href="function.runkit-import.html" class="function">runkit_import()</a></span> flag indicating
     that normal functions should be imported from the
     specified file.
    </span>
   </dd>

  
  
   <dt id="constant.runkit-import-class-methods">
    <strong><code>RUNKIT_IMPORT_CLASS_METHODS</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">
     <span class="function"><a href="function.runkit-import.html" class="function">runkit_import()</a></span> flag indicating
     that class methods should be imported from the
     specified file.
    </span>
   </dd>

  
  
   <dt id="constant.runkit-import-class-consts">
    <strong><code>RUNKIT_IMPORT_CLASS_CONSTS</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">
     <span class="function"><a href="function.runkit-import.html" class="function">runkit_import()</a></span> flag indicating
     that class constants should be imported from the
     specified file.  Note that this flag is only meaningful
     in PHP versions 5.1.0 and above.
    </span>
   </dd>

  
  
   <dt id="constant.runkit-import-class-props">
    <strong><code>RUNKIT_IMPORT_CLASS_PROPS</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">
     <span class="function"><a href="function.runkit-import.html" class="function">runkit_import()</a></span> flag indicating
     that class standard properties should be imported
     from the specified file.
    </span>
   </dd>

  
  
   <dt id="constant.runkit-import-classes">
    <strong><code>RUNKIT_IMPORT_CLASSES</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">
     <span class="function"><a href="function.runkit-import.html" class="function">runkit_import()</a></span> flag representing
     a bitwise OR of the <strong><code>RUNKIT_IMPORT_CLASS_*</code></strong>
     constants.
    </span>
   </dd>

  
  
   <dt id="constant.runkit-import-override">
    <strong><code>RUNKIT_IMPORT_OVERRIDE</code></strong> 
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">
     <span class="function"><a href="function.runkit-import.html" class="function">runkit_import()</a></span> flag indicating that
     if any of the imported functions, methods, constants,
     or properties already exist, they should be replaced with
     the new definitions.  If this flag is not set, then any
     imported definitions which already exist will be discarded.
    </span>
   </dd>

  
  
   <dt id="constant.runkit-acc-public">
    <strong><code>RUNKIT_ACC_PUBLIC</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">
     PHP 5 specific flag to <span class="function"><a href="function.runkit-method-add.html" class="function">runkit_method_add()</a></span>
    </span>
   </dd>

  
  
   <dt id="constant.runkit-acc-protected">
    <strong><code>RUNKIT_ACC_PROTECTED</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">
     PHP 5 specific flag to <span class="function"><a href="function.runkit-method-add.html" class="function">runkit_method_add()</a></span>
    </span>
   </dd>

  
  
   <dt id="constant.runkit-acc-private">
    <strong><code>RUNKIT_ACC_PRIVATE</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">
     PHP 5 specific flag to <span class="function"><a href="function.runkit-method-add.html" class="function">runkit_method_add()</a></span>
    </span>
   </dd>

  
  
   <dt>

    <strong><code>CLASSKIT_ACC_PUBLIC</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">
     PHP 5 specific flag to <span class="function"><a href="function.classkit-method-add.html" class="function">classkit_method_add()</a></span>
     Only defined when classkit compatibility is enabled.
    </span>
   </dd>

  
  
   <dt>

    <strong><code>CLASSKIT_ACC_PROTECTED</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">
     PHP 5 specific flag to <span class="function"><a href="function.classkit-method-add.html" class="function">classkit_method_add()</a></span>
     Only defined when classkit compatibility is enabled.
    </span>
   </dd>

  
  
   <dt>

    <strong><code>CLASSKIT_ACC_PRIVATE</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">
     PHP 5 specific flag to <span class="function"><a href="function.classkit-method-add.html" class="function">classkit_method_add()</a></span>
     Only defined when classkit compatibility is enabled.
    </span>
   </dd>

  
  
   <dt>

    <strong><code>CLASSKIT_AGGREGATE_OVERRIDE</code></strong>
     (<span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>)
   </dt>

   <dd>

    <span class="simpara">
     PHP 5 specific flag to <span class="function"><a href="function.classkit-import.html" class="function">classkit_import()</a></span>
     Only defined when classkit compatibility is enabled.
    </span>
   </dd>

  
  
   <dt id="constant.runkit-version">
    <strong><code>RUNKIT_VERSION</code></strong>
     (<span class="type"><a href="language.types.string.html" class="type string">string</a></span>)
   </dt>

   <dd>

    <span class="simpara">
     Defined to the current version of the runkit package.
    </span>
   </dd>

  
  
   <dt>

    <strong><code>CLASSKIT_VERSION</code></strong>
     (<span class="type"><a href="language.types.string.html" class="type string">string</a></span>)
   </dt>

   <dd>

    <span class="simpara">
     Defined to the current version of the runkit package.
     Only defined when classkit compatibility is enabled.
    </span>
   </dd>

  
 </dl>

</div>
<hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="intro.runkit.html">简介</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="runkit.setup.html">安装／配置</a></div>
 <div class="up"><a href="book.runkit.html">runkit</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
